{include file="public_iframe:head"}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>充值凭证列表</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                        </div>
                        <form class="form-inline" action="" method="get">
                            <div class="col-sm-9">
                                <div class="input-group col-sm-3  pull-right">
                                    <input type="text" name="keyword" value="{$keyword?$keyword:'';}" placeholder="昵称" class="input-sm form-control" style="float: left;width: 100px;">
                                    <select name="check" class="input-sm form-control select_no_border" style="float:left;width:100px;margin-left:15px;height:30px;">
                                        <option value="" >全部数据</option>
                                        <option value="0" {if condition="$check =='0'"}selected{/if}>待审核</option>
                                        <option value="1" {if condition="$check =='1'"}selected{/if}>审核通过</option>
                                        <option value="-1" {if condition="$check =='-1'"}selected{/if}>审核拒绝</option>
                                        </select>
                                    <span class="input-group-btn">
                                      <button type="submit" class="btn btn-sm btn-primary"> 搜索</button>
                                    </span>
                                </div>
                            </div>
                        </form>
                    </div>

                    <br />

                    <div class="table-responsive">
                        <form action="__URL__/operate" method="post" id="operate_form">
                            <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th>账号名</th>
                                    <th>凭证图片</th>
                                    <th>状态</th>
                                    <th>创建时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="users" id="users"}
                                    <tr>
                                        <td>{$users['account']}</td>
                                        <td>
                                            <img alt="image" style="width:50px;height:50px;" class="img-circle" src="{$users['image']}">
                                        </td>
                                        <td>
                                            {if condition="$users['check'] eq 0"}
                                                待审核
                                            {/if}
                                            {if condition="$users['check'] eq 1"}
                                                审核通过
                                            {/if}
                                            {if condition="$users['check'] eq -1"}
                                                拒绝审核
                                            {/if}
                                        </td>
                                        <td>{$users['creatime']|date="Y-m-d",###}</td>
                                        <td class="center" width="140">
                                            {if condition="$users['check'] eq 0"}
                                            <a href="{:url('AdminMember/certificate_detail',array('id'=>$users['id']))}" style="position: relative" class="btn btn-primary">
                                            {if condition="$users['is_reading'] eq 0"}
                                                <div style="border-radius: 5px;width: 10px;height: 10px;background-color: red;position: absolute;right: -6px;top: -8px;"></div>
                                            {/if}
                                                查看
                                            </a>
                                            {/if}
                                        </td>
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>
                        </form>
                        <div class="col-sm-12" style="padding:0px;">
                            <ul class="pagination  pull-right">
                                {$page}
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>